using UnityEngine;

public class TimedDisable : MonoBehaviour
{
	public float timer;

	private void OnEnable()
	{
		Invoke("Disable", timer);
	}

	private void Disable()
	{
		base.gameObject.SetActiveRecursively(state: false);
	}
}
